package com.lolo.json.restlet;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;

import com.thoughtworks.xstream.XStream;

public interface JsonServletRequestHandler {

	public void setVersion(String version);
	public String getVersion();
	public void setServiceName(String serviceName);
	public String getServiceName();
	
	public void configureJsonMapping(String action, XStream xStream) throws IOException;	
	public void getMetaData(JsonMetaData meta) throws IOException;	

	public Object executeRequest(String action, HttpServletRequest data) throws IOException;

}
